//
//  DownLoadData.h
//  EarnBao
//
//  Created by xiaohui on 15/4/24.
//  Copyright (c) 2015年 杭州赚宝科技有限公司. All rights reserved.
//

#import <Foundation/Foundation.h>

//声明一个协议
@protocol DownLoadDataDelegate <NSObject>

//声明一个代理方法，谁遵守协议并成为代理谁就要实现这个方法
- (void)refresh;

@end



@interface DownLoadData : NSObject

@property (nonatomic, assign) id<DownLoadDataDelegate> delegate;

+ (DownLoadData *)shareDataHandle;

- (void)downLoadDataWithURL:(NSString *)urlString key:(NSString *)keyName model:(NSString *)modelName results:(NSMutableArray *)dataArray;

@end
